﻿<views:UserControlView x:TypeArguments="viewModels:StartPageViewModel" x:Class="Flux.Editor.Views.StartPageView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:views="clr-namespace:Flux.Mvvm.Views;assembly=Flux.Mvvm"
             xmlns:viewModels="clr-namespace:Flux.Editor.ViewModels"
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <Grid Background="#314362" Margin="2">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="256"/>
            <ColumnDefinition/>
        </Grid.ColumnDefinitions>
        
        <Grid Column="0">
            <Grid.RowDefinitions>
                <RowDefinition Height="16"/>
                <RowDefinition Height="96"/>
                <RowDefinition Height="16"/>
                <RowDefinition Height="25"/>
                <RowDefinition Height="25"/>
                <RowDefinition Height="25"/>
                <RowDefinition Height="32"/>
                <RowDefinition Height="25"/>
                <RowDefinition/>
            </Grid.RowDefinitions>

            <Image Grid.Row="1" Source="../Resources/FluxLogo.png" HorizontalAlignment="Left" VerticalAlignment="Center" Margin="16,0,0,0"/>

            <TextBlock Grid.Row="3" Text="Start" HorizontalAlignment="Left" VerticalAlignment="Center" Margin="24,0,0,0" FontWeight="SemiBold" Foreground="LightGray" FontSize="14" FontFamily="Courier"/>

            <TextBlock Grid.Row="4" HorizontalAlignment="Left" VerticalAlignment="Center" Margin="24,0,0,0" >
                <Hyperlink Foreground="CornflowerBlue" Command="{Binding NewProjectCommand}">New Project</Hyperlink>
            </TextBlock>

            <TextBlock Grid.Row="5" HorizontalAlignment="Left" VerticalAlignment="Center" Margin="24,0,0,0" >
                <Hyperlink Foreground="CornflowerBlue" Command="{Binding OpenProjectCommand}">Open Project</Hyperlink>
            </TextBlock>

            <TextBlock Grid.Row="7" Text="Recent" HorizontalAlignment="Left" VerticalAlignment="Center" Margin="24,0,0,0" FontWeight="SemiBold" Foreground="LightGray" FontSize="14" FontFamily="Courier"/>
            
        </Grid>

        <Grid Column="1">
            
        </Grid>
    </Grid>
</views:UserControlView>
